<template>
<ul class="icons">
    <li v-for="(item,index) in iconsList" :key="index">
        <img :src="item.imgUrl" alt="">
        <span>{{item.title}}</span>
    </li>
</ul>
    
</template>
<script>
export default{
    data() {
        return{
            iconsList:[
                {
                    id:1,
                    title:'随便推荐',
                    imgUrl:'./images/icons1.png',

                },
                 {
                    id:2,
                    title:'随便分类',
                    imgUrl:'./images/icons2.png',

                },
                 {
                    id:3,
                    title:'随便分享',
                    imgUrl:'./images/icons3.png',

                },
                 {
                    id:4,
                    title:'随便折扣',
                    imgUrl:'./images/icons4.png',

                },
            ]

        }
    }
}
</script>
<style>
.icons{
    margin: 0 auto;
    margin-top: 5px;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    width: 95%;
   height:70px;
   border-radius: 15px;
   background-color: rgba(053,103,083);

}
.icons li{
    display:flex;
    flex-direction: column;
    align-items: center;

}
.icons img{
width: 43px;
height: 43px;
}
.icons span{
font-size: 14px;
color: rgb(205, 204, 164);

}
</style>